package com.hyj.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hyj.entity.Sections;
import com.hyj.mapper.SecMapper;
import com.hyj.service.SecService;


/**
 * 科室实现类
 * @author 智宇群
 *
 */
@Service
public class SecServiceImpl implements SecService {

	
	@Autowired
	private SecMapper secMapper;



	@Override
	public boolean addSec(Sections sec) {
		// TODO Auto-generated method stub
		return secMapper.addSec(sec);
	}

	@Override
	public boolean delSec(int SId) {
		// TODO Auto-generated method stub
		return secMapper.delSec(SId);
	}

	@Override
	public int updateSec(Sections sec) {
		// TODO Auto-generated method stub
		return secMapper.updateSec(sec);
	}

	@Override
	public List<Sections> getSec(Sections sec) {
		// TODO Auto-generated method stub
		return secMapper.getSec(sec);
	}


	}

